package com.drinks.yiniang.entity.user.order;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * @author han
 * @date 2020/1/15
 */
public class OrderCouponJson extends BaseJson {

    private List<OrderCouponData> data;

    public List<OrderCouponData> getData() {
        return data;
    }

    public void setData(List<OrderCouponData> data) {
        this.data = data;
    }

    public static class OrderCouponData {
        private String id;
        private String name;
        //抵扣金额
        private String amount;
        //限制金额
        private String limit_amount;
        private String stores_id;
        private String valid_start_time;
        private String valid_end_time;
        //优惠券所属门店名称
        private String stores_name;
        //前端添加是否选中
        private boolean isChecked;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getLimit_amount() {
            return limit_amount;
        }

        public void setLimit_amount(String limit_amount) {
            this.limit_amount = limit_amount;
        }

        public String getStores_id() {
            return stores_id;
        }

        public void setStores_id(String stores_id) {
            this.stores_id = stores_id;
        }

        public String getValid_start_time() {
            return valid_start_time;
        }

        public void setValid_start_time(String valid_start_time) {
            this.valid_start_time = valid_start_time;
        }

        public String getValid_end_time() {
            return valid_end_time;
        }

        public void setValid_end_time(String valid_end_time) {
            this.valid_end_time = valid_end_time;
        }

        public String getStores_name() {
            return stores_name;
        }

        public void setStores_name(String stores_name) {
            this.stores_name = stores_name;
        }

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }
    }
}
